package com.qf.ssm.common.exception;
/*
   @author 86155
   @ClassName: com.qf.common.exception.BaseException
   @Description: 该类的功能描述
   @date: 2021/10/8 19:23 
*/

import com.qf.ssm.common.vo.ResponseCode;
import lombok.Getter;

@Getter
public class BaseException extends RuntimeException{
    private ResponseCode responseCode;

    public BaseException(ResponseCode responseCode) {
        super(responseCode.getMsg());
        this.responseCode = responseCode;
    }
}
